//package com.mi.minal.common.config;
//
//import com.baomidou.dynamic.datasource.DynamicRoutingDataSource;
//import com.baomidou.dynamic.datasource.support.DbHealthIndicator;
//
//import javax.sql.DataSource;
//import java.util.Map;
//
//public class DbHealthIndicatoraa extends DbHealthIndicator {
//
//    public DbHealthIndicatoraa(DataSource dataSource) {
//        super(dataSource);
//
//    }
//
//    public Map<String, DataSource> getDataSource() {
//        return ((DynamicRoutingDataSource) this.getDataSource()).getCurrentDataSources();
//    }
//}